﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lidgren.Network;

namespace TestcraftServer
{
    class PlayerConnection
    {
        public enum ConnectionState
        {
            KeyNegotiation,
            Authentication,
            Play
        }

        public string PlayerName { get; set; }
        public byte[] Token { get; set; }
        public ConnectionState state;

        public PlayerConnection()
        {
            // Skall senare vara KeyNegotiation
            this.state = ConnectionState.Authentication;
        }


    }
}
